#ifndef CLIENTTABLE_H
#define CLIENTTABLE_H

#include <vector>
#include <stdio.h>
#include <string.h>
#include <sstream>
#include <iostream>
#include "tableEntry.h"

using namespace std;

class clientTable {
				  		private:
				  			std::vector<tableEntry*> table;
				  		public:
				  			clientTable();

				  			bool 		exists	  (char* checkIP, int checkInc, int checkCnum);
				  			tableEntry* getEntry  (char* checkIP, int checkInc, int checkCnum);
				  			void 		updateReq (char* checkIP, int cInc, int cNum, int newReq);
				  			void 		addEntry  (char* checkIP, int newInc, int newReq, int newCnum);
				  };

#endif
